package com.itqf.dynamic_proxy.impl;

import com.itqf.dynamic_proxy.GoodsService;

/**
 * @Description:
 * @Company: 千锋互联
 * @Author: 李丽婷
 * @Date: 2021/1/14
 * @Time: 上午10:12
 */
public class GoodsServiceIMpl implements GoodsService {
    @Override
    public void add() {
        System.out.println("add goods");
    }

    @Override
    public void delete()
    {

        System.out.println("delete goods");
        int i =10/0;
    }

    @Override
    public int update() {

        System.out.println("update goods");

        return  1;
    }
}
